Encapsulator

fun <T : Any> Encapsulator(klass: KClass<T>, serializer: <ERROR CLASS><T>)